Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix/performance measurer high samples #926

Merged
merged 7 commits into from
Nov 10, 2024

Conversation

maximilien-noal
Copy link
Member

@maximilien-noal maximilien-noal commented Nov 9, 2024

Description of Changes

Fixes performances measurements which were incorrectly measured as 0 if samples were given with a time resolution below one millisecond to the PerformanceMeasurer class.

Also makes the EmulationLoop uses the PerformanceMeasurer to record and calculate performance measures, instead of recreating the function by itself.

Rationale behind Changes

Just a small fix I came across.

Suggested Testing Steps

Already tested. Nothing changed.

Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>
Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>
Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>
Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>
@maximilien-noal maximilien-noal force-pushed the fix/performance_measurer_high_samples branch from 11162cf to 744e755 Compare November 10, 2024 14:11
Signed-off-by: Maximilien Noal <noal.maximilien@gmail.com>
Copy link
Contributor

@JorisVanEijden JorisVanEijden left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just 2 minor suggestions.

maximilien-noal and others added 2 commits November 10, 2024 19:57
Co-authored-by: Joris van Eijden <joris.vaneijden@gmail.com>
Co-authored-by: Joris van Eijden <joris.vaneijden@gmail.com>
@maximilien-noal maximilien-noal merged commit a5a6dae into master Nov 10, 2024
4 checks passed
@maximilien-noal maximilien-noal deleted the fix/performance_measurer_high_samples branch November 23, 2024 13:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bugfix fixes a bug
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants